@import './color.scss';
.el-button{
  padding: 8px 15px;
}
.el-button.blueBtn{
  background:rgba(233,239,255,1) !important;
  color:rgba(51,108,251,1) !important;
  border: 1px solid #e9efff !important;
}
.el-button.is-round{
  padding: 7px 15px 8px 15px;
}
.el-button--primary:hover{
  opacity: 0.8;
}
.el-button--primary.is-plain:hover{
  opacity: 1;
}
.el-button--default,.el-button--default:focus,.el-button--primary.is-plain,.el-button--primary.is-plain:focus{
  background-color: $white_1;
  border-color: $blue_3;
  color:$blue_3;
}
.el-button--default:hover,.el-button--default:active,.el-button--primary.is-plain:hover,.el-button--primary.is-plain:active{
  background-color:$blue_3;
  border-color:$blue_3;
  color:$white_1;
}

.el-message{
  margin-top:25px;
}
.el-input{
  .el-input__inner {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #000;
    box-sizing: border-box !important;
    padding: 0 7px;
  }
  &.el-input--suffix .el-input__inner{
    padding-right: 30px;
  }
  .el-input__suffix{
    .el-input__icon{
      line-height: 30px;
    }
  }
}

.el-textarea{
  .el-textarea__inner{
    overflow: auto;
    padding-bottom: 20px;
  }
  .el-input__count{
    height: 20px;
    line-height: 20px;
    right: 20px;
  }
}

/* .el-button.is-round {
  padding: 10px 21px;
} */
.el-button--primary {
  background: #3370ff;
  border-color: #3370ff;
}
.el-message-box {
  .el-message-box__header {
    background: #f6f6f6;

    .el-message-box__title {
      font-size: 14px;
      font-weight: 400;
      color: #333333;
    }
  }
  .el-message-box__btns{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    
    button:nth-child(1){
      margin-left: 26px; 
    }
    button:nth-child(2){
      margin-left: 0px; 
    }
    button:nth-last-child(1){
      margin-left: 0px !important;
    }
  }
}

.el-select-dropdown__item{
  font-size: 12px;
  height: 32px;
  line-height: 32px;
}
.el-message-box {
  width: 500px;
  border-radius: 6px;
  padding-bottom: 20px;
  .el-message-box__header {
    height: 50px;
    background: rgba(246, 246, 246, 1);
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    .el-message-box__title {
      font-size: 14px;
      font-weight: 400;
      color: rgba(51, 51, 51, 1);
      line-height: 50px;
      padding-right: 20px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .el-message-box__headerbtn {
      position: relative;
      top: 0;
      right: 0;
    }
  }
  .el-message-box__content {
    padding: 30px 20px;
  }
  .el-message-box__btns {
    text-align: center;
    .el-button {
      width: 120px;
      height: 30px;
      border-radius: 15px;
      line-height: 28px;
      padding-top: 0;
      padding-bottom: 0;
    }
    .el-button--primary {
      color: #fff;
      background-color: #336cfb;
      border-color: #336cfb;
    }
  }
}

.el-form {
  .el-form-item {
    .el-form-item__label{
      color: #000000;
    }
    .el-input {
      z-index: 2;
      .el-input__inner {
        background-color: rgba(255, 255, 255, 0);
      }
    }
  }
}
.el-button--primary,.el-button--primary:active,.el-button--primary:hover,.el-button--primary:focus{
    color: #fff;
    background-color: #507ff8;
    border-color: #507ff8;
}
.clearSearch_btn_style,.clearSearch_btn_style:active,.clearSearch_btn_style:hover,.clearSearch_btn_style:focus{
  color: #fff;
  background-color: #3e5265;
  border-color: #3e5265;
}
.clearSearch_btn_style:hover{
  opacity: 0.8;
}
.operations_btn_style{
    color: #409EFF;
    background: 0 0;
    padding-left: 0;
    padding-right: 0;
}
.operations_btn_style_red,.operations_btn_style_red:focus,.operations_btn_style_red:hover{
  color:#F56C6C;
}
.el-query-bar{
  margin: 0 -15px !important;
  padding: 9px 10px;
  background:rgba(173,184,212,0.15);
  color:#324558;
}


.el-radio__input.is-checked .el-radio__inner {
  border-color: #336CFB;
  background: #336CFB;
}

.el-radio__input.is-checked+.el-radio__label {
  color: #000000;
}
.el-table .el-table__header-wrapper th,.el-table .el-table__header-wrapper tr{
  background-color: #F5F7FA;
  color: #324558;
  font-weight: 500;
}
.el-table .cell{
  line-height: 20px;
  color:#324558;
}
.el-table .caret-wrapper{
  height: 20px;
}

.el-upload__tip{
  color: #999;
}

.el-dropdown-menu{
  max-height: 380px;
  max-width: 270px;
  overflow: auto;
  .el-dropdown-menu__item{
    // font-weight: 600;
    // color: rgba(51,51,51,1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .el-dropdown-menu__item.is-disabled{
    opacity: 0.6;
  }
  .el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {
      // background-color: #ecf5ff;
      // background: rgba(245,247,250,1);
      // color: inherit;
  }
}
.el-divider{
  background-color: #ddd;
}

.el-dropdown .el-dropdown-selfdefine:focus:active, .el-dropdown .el-dropdown-selfdefine:focus:not(.focusing), .el-message__closeBtn:focus, .el-message__content:focus, .el-popover:focus, .el-popover:focus:active, .el-popover__reference:focus:hover, .el-popover__reference:focus:not(.focusing), .el-rate:active, .el-rate:focus, .el-tooltip:focus:hover, .el-tooltip:focus:not(.focusing), .el-upload-list__item.is-success:active, .el-upload-list__item.is-success:not(.focusing):focus {
  outline: none;
}

//单选组件
.el-radio-button__inner{
  color:#336cfb;
  padding: 11px 40px;
  border-color: #336cfb;
}
.el-radio-button:first-child .el-radio-button__inner{
  border-left-color: #336cfb;
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner{
    background-color: #336cfb;
    border-color: #336cfb;
    -webkit-box-shadow: -1px 0 0 0 #336cfb;
    box-shadow: -1px 0 0 0 #336cfb;
}

//loading
.el-loading-mask{
  background-color: transparent;
}
